package com.horay.springbootdemo.data.source.druid.configuration.filter;

import com.alibaba.druid.support.http.WebStatFilter;

import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebInitParam;

/**
 * 配置监控拦截器, druid监控拦截器
 *
 * @author heyingcheng
 * @date 2019/11/1 8:44
 */
@WebFilter(filterName = "druidWebStatFilter", urlPatterns = "/*", initParams = {@WebInitParam(name = "exclusions", value = "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*", description = "忽略资源")})
public class DruidStatFilter extends WebStatFilter {
}
